package com.zsihuo.controller;

 import com.zsihuo.entity.SiHuoPojo;
 import com.zsihuo.service.ZSiHuoService;
 import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ZSiHuoController
 * @Description TODO
 * @Author wuwan
 * @Date 2024/5/17 9:50
 **/
@RestController
@RequestMapping("/demo")
public class ZSiHuoController {
    @Autowired
    ZSiHuoService zSiHuoService;

    @GetMapping("/selectDate")
    public SiHuoPojo selectDate(String Enzyme, String Metabolite){
        return zSiHuoService.selectDate(Enzyme,Metabolite);
    }
}
